﻿<UserControl x:Class="LinkED_WP.LinkED_POP"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="260" d:DesignWidth="480">

    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="3*" />
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height ="*" />
            <RowDefinition Height ="*" />
            <RowDefinition Height ="*" />
        </Grid.RowDefinitions>
        
        <TextBox x:Name="ip" Grid.Row="0" Grid.Column="1" />
        <TextBox x:Name="name" Grid.Row="1" Grid.Column="1" />
        
        <TextBlock Text ="IP" Grid.Row="0" Grid.Column="0" Margin="10" 
                   HorizontalAlignment="Right" VerticalAlignment="Center" FontSize="36" />

        <TextBlock Text ="Name" Grid.Row="1" Grid.Column="0" Margin="10" 
                   HorizontalAlignment="Right" VerticalAlignment="Center" FontSize="36" />

        <Grid Grid.Row ="2" Grid.ColumnSpan="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                
                <Button Content="添加" Click="OKButton_Click"/>
                <Button Grid.Column="1" Content="取消" Click="CancelButton_Click"/>
         </Grid>

    </Grid>
</UserControl>
